#ifndef ASSIGNMENT2_H
#define ASSIGNMENT2_H

#include <SDL_net.h>

#include "BulletState.h"
#include "OgreState.h"


namespace Ogre {
    class Camera;
    class Viewport;
    class SceneManager;
}

namespace pong {
    class Ball;

    class Assignment2 : public OgreState,
                        public BulletState
    {
    protected:
        Ball* ball;

        TCPsocket serverSock, clientSock;

    public:
        Assignment2(void)
            : serverSock(0), clientSock(0), ball(0)
        {}
        virtual ~Assignment2(void) {}

        virtual void load(Core&);
        virtual void unload(Core&);

        virtual bool keyPressed(const OIS::KeyEvent& e);
    };
}
#endif // ASSIGNMENT2_H